package com.yj.cloudnote.service;

import com.yj.cloudnote.model.Page;
import com.yj.cloudnote.model.Share;

import java.util.List;

public interface ShareService {
    public boolean insertNewShare(Share share);
    public Share getShareByUserFile(String username,int file_id);
    public Share getShareById(int share_id);
    public void complaint(Share share);
    public List<Share> getComplaintsByPage(Page page);
    public int getComplaintsCount();
    public void deleteShare(int shareId);
}
